package com.example.administrator.yunniuusedcar.fragment;

import android.content.Intent;
import android.view.View;
import android.widget.Button;

import com.example.administrator.common.base.BaseFragment;
import com.example.administrator.yunniuusedcar.activity.ChooseCarModelsActivity;
import com.example.administrator.yunniuusedcar.R;

/**
 * Created by Administrator on 2017/11/28.
 *  3、选车
 */

public class MainChooseCarFragment3Model extends BaseFragment {

    private Button btn_moseCar;

    @Override
    public int getLayoutRes() {
        return R.layout.fragment_choosecar03;
    }

    @Override
    public void initView() {    // onCreateView()
        initFindViewByid();
        initWindowns();

    }

    private void initWindowns() {
//      getWindow().setFlags(WindowManager.LayoutParams. FLAG_FULLSCREEN , WindowManager.LayoutParams. FLAG_FULLSCREEN);

    }

    private void initFindViewByid() {
        btn_moseCar = findView(R.id.btn_Mose);
    }

    @Override
    public void initListener() {
        btn_moseCar.setOnClickListener(new View.OnClickListener() {    //更多车型
            @Override
            public void onClick(View view) {
                startActivity(new Intent(getContext(),ChooseCarModelsActivity.class));
            }
        });
    }

    @Override
    public void initData() {

    }
}
